94b5038daa32924475816bd189bdcdad3dd92d20,plugins/org.yakindu.sct.model.stext/src/org/yakindu/sct/model/stext/scoping/STextScopeProvider.java,STextScopeProvider,scope_ElementReferenceExpression_reference,#EObject#EReference#,114
Before Change
}
public IScope scope_ElementReferenceExpression_reference(final EObject context, EReference reference) {
IScope namdScope = getNamedTopLevelScope(context, reference);
IScope unnamedScope = getUnnamedTopLevelScope(context, reference);
Predicate<IEObjectDescription> predicate = calculateFilterPredicate(context, reference);
unnamedScope = new FilteringScope(unnamedScope, predicate);
return new SimpleScope(Iterables.concat(namdScope.getAllElements(), unnamedScope.getAllElements()));
}
public IScope scope_FeatureCall_feature(final FeatureCall context, EReference reference) {
After Change
public IScope scope_ElementReferenceExpression_reference(final EObject context, EReference reference) {
IScope scope = getUnnamedTopLevelScope(context, reference);
scope = getNamedTopLevelScope(context, reference, scope);
return scope;
}
public IScope scope_FeatureCall_feature(final FeatureCall context, EReference reference) {